<?php
/**
 * Created by PhpStorm.
 * User: venki
 * Date: 2023/12/4
 * Time: 15:05
 */

namespace app\modelFilters;


use EloquentFilter\ModelFilter;

class UserFilter extends ModelFilter
{

    // This will filter 'company_id' OR 'company'
    public function name($name)
    {
        return $this->where('name', $name);
    }
}